
<!DOCTYPE html>
<html>

<head>
    <title>帖子动态</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content=" ">
    <link rel="stylesheet" href="/public/static/libs/weui/lib/mui.min.css"/>
    <link rel="stylesheet" href="/public/static/libs/weui/lib/weui.min.css">
    <link rel="stylesheet" href="/public/static/libs/weui/css/jquery-weui.css">
    <link rel="stylesheet" href="/public/static/api/css/usermessage.css"/>
    <link rel="stylesheet" href="/public/static/libs/weui/lib/preview.css">
</head>
<script src="/public/static/libs/weui/lib/jquery-2.1.4.js"></script>

<!--<script src="https://cdn.bootcss.com/jquery_lazyload/1.9.7/jquery.lazyload.js"></script>-->
<!--<script src="/public/static/libs/weui/js/jquery-weui.js"></script>-->
<script src="/public/static/libs/weui/lib/fastclick.js"></script>

<style type="text/css">
    /*body {
        background: #f5f5f5;
    }*/

    .send_detail {
        background: #fff;
        padding-top: .5rem;
    }

    .send_detail .head-img {
        overflow: hidden;
        padding: 0 .5rem;
        margin-top: 0;
        height: 1.8rem;
    }

    .send_detail .head-img > img {
        float: left;
        width: 1.8rem;
        height: 1.8rem;
        border-radius: .9rem;
    }

    .send_detail .head-info {
        width: 80%
    }

    .send_detail .head-info p:first-of-type {
        height: 1rem;
        line-height: 1rem;

        font-size: .7rem;
        color: #222;
    }

    .send_detail .news_zixun {
        padding: 0 .5rem;
        /*border-bottom: 1px solid #eee;*/
        /*margin-bottom: .5rem;*/
    }

    .send_detail .news_zixun .news_zixun_title {
        height: auto;
        color: #555;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        /*-webkit-line-clamp: 2;*/
        overflow: hidden;
        font-size: 0.8rem;
        margin: .5rem 0;
    }

    .send_detail .news_zixun .news_zixun_img {
        overflow: hidden;
    }

    .send_detail .news_zixun .news_zixun_img img {
        float: left;
        width: 31.6%;
        /*height: 80px;*/
        margin-right: 2.6%;
        margin-bottom: .5rem;
    }

    .send_detail .news_zixun .news_zixun_img img:nth-of-type(3n) {
        margin-right: 0px;
    }

    .send_detail .bg_bar {
        width: 100%;
        height: .5rem;
        background: #f4f4f4;
    }

    .topic_tle {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .replay {
        background: #D9D9D9;
        color: #5A5A5A;
        margin: 0 .5rem;
        padding: .5rem;
        position: relative;
        display: flex;
        flex-direction: row;
        /*justify-content: flex-start;*/
    }

    .replay p {
        min-height: 3rem;
    }

    .user_name {
        width: 5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-right: .5rem;
    }

    .comm_item {
        /*padding-bottom: 5rem;*/
        border-top: 1px solid #d8d8d8;
    }

    .comm_item:nth-of-type(1) {
        border-top: 0px solid #fff;
    }

    .check {
        height: 2.5rem;
        line-height: 2.5rem;
        /*padding: 0 .5rem;*/
        display: flex;
        flex-direction: row;
    }

    .check p {
        text-align: center;
        width: 50%;
        overflow: hidden;
        color: #5A5A5A;
        border-bottom: 1px solid #d8d8d8;
    }

    .check_msg {
        position: relative;
    }

    .check_msg:before {
        content: '';
        height: 1.5rem;
        position: absolute;
        top: .5rem;
        right: 0;
        width: 1px;
        background: #D8D8D8;
    }

    .check img {
        width: 1.2rem;
        height: 1.2rem;
        margin-right: .25rem;
        vertical-align: middle;
    }
</style>

<body>
<div id="pullrefresh" class="mui-content mui-scroll-wrapper">
    <div class="mui-scroll">
        <div class="mui-content">
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-11 17:43:14</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1800414" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1800414/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=13">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551832" data-tid="1800414" data-pid="18551832" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-11 15:16:37</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=9">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551831" data-tid="1802367" data-pid="18551831" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-11 15:16:28</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title">公共空空</p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                        <font size="2">233</font></blockquote>                    </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=8">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551830" data-tid="1802367" data-pid="18551830" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-10 18:12:40</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title">我在这里</p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                        <font size="2">1233</font></blockquote>                    </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1801102" data-tid="279"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1801102/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=3">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551827" data-tid="1801102" data-pid="18551827" data-fid="279"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-07 00:27:46</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title">磨了额额</p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                        <font size="2">阿爹呵呵呵</font></blockquote>                    </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=7">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551823" data-tid="1802367" data-pid="18551823" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-07 00:27:34</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=6">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551822" data-tid="1802367" data-pid="18551822" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-07 00:27:24</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=5">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551821" data-tid="1802367" data-pid="18551821" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-07 00:03:13</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title">形容魔宫</p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                        <font size="2">哦送您你</font></blockquote>                    </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=4">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551820" data-tid="1802367" data-pid="18551820" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-07 00:03:08</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title">哦送您你</p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                        <font size="2">阿爹呵呵呵</font></blockquote>                    </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=3">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551819" data-tid="1802367" data-pid="18551819" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-07 00:03:00</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1802367" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1802367/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=2">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551818" data-tid="1802367" data-pid="18551818" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-06 22:08:40</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1800414" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1800414/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=12">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551816" data-tid="1800414" data-pid="18551816" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-06 22:08:29</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title">摸摸摸</p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                        <font size="2">佳龙</font></blockquote>                    </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1800414" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1800414/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=11">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551815" data-tid="1800414" data-pid="18551815" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-06 22:08:20</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title">佳龙</p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                        <font size="2">1233</font></blockquote>                    </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1800414" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1800414/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=10">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551814" data-tid="1800414" data-pid="18551814" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-06 22:01:26</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1800414" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1800414/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=8">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551812" data-tid="1800414" data-pid="18551812" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                        <div class="send_detail comm_item">
                <div class="head-img">
                    <img src="http://bbs.hcbbs.com/uc_server/avatar.php?uid=yunhe1234&size=small">
                    <div class="head-info">
                        <p>yunhe1234</p>
                        <p>
                            <span>2017-07-06 22:00:47</span>
                        </p>
                    </div>
                </div>

                <div class="send_box">
                    <div class="news_zixun">
                        <p class="news_zixun_title"></p>
                    </div>

                </div>
                <div class="replay">
                    <!--<p class="user_name">yunhe1234:</p>-->
                    <p class="replay_cont">
                                            </p>
                    <!--<button class="replay_btn">回复</button>-->
                </div>
                <div class="check">
                    <p class="check_msg" data-id="1800414" data-tid="710"
                       data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id/3717435/id/1800414/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1.html?floor=7">
                        <img src="/public/static/api/images/check.png"><span>查看帖子</span></p>
                    <p data-id="18551811" data-tid="1800414" data-pid="18551811" data-fid="710"
                       class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>
                </div>
            </div>
                    </div>
    </div>
</div>
<script type="text/javascript" src="/public/static/libs/weui/lib/mui.min.js"></script>
<!--<script type="text/javascript" src="/public/static/libs/weui/lib/mui.previewimage.js"></script>-->
<!--<script type="text/javascript" src="/public/static/libs/weui/lib/mui.zoom.js"></script>-->
<script type="text/javascript" src="/public/static/libs/weui/js/jquery-weui.js"></script>
<script type="text/javascript">
    function go_page(url, title) {
        var ua = navigator.userAgent.toLowerCase();
        if (/iphone|ipad|ipod/.test(ua)) {
            go_url(url, title);
        } else {
            topic.go_url(url, title);
        }
    }
    function comment(comment_id, tid, pid) {
        var ua = navigator.userAgent.toLowerCase();
        if (/iphone|ipad|ipod/.test(ua)) {
            add_comment(comment_id, tid, pid);
        } else {
            topics.add_comment(comment_id, tid, pid);
        }
    }
    function go_info(id, tid) {
        var ua = navigator.userAgent.toLowerCase();
        if (/iphone|ipad|ipod/.test(ua)) {
            post_info(id, tid);
        } else {
            topic_msg.post_info(id, tid);
        }
    }


    function back() {
        var ua = navigator.userAgent.toLowerCase();
        if (/iphone|ipad|ipod/.test(ua)) {
            back_page();
        } else {
            viewPage.back_page();
        }
    }

    $(document.body).on('click', '.add_comment', function () {
        var comment_id = $(this).data('id');
        var pid = $(this).data('pid');
        var tid = $(this).data('tid');
        console.log(comment_id);
        console.log(pid);
        console.log(tid);
        comment(comment_id, tid, pid);
    });

    $(document.body).on('click', '.check_msg', function () {
        mui.toast("即将跳转。。");
        var url = $(this).attr('data-href');
        var ua = navigator.userAgent.toLowerCase();
        var id = this.getAttribute('data-id');
        var tid = this.getAttribute('data-tid');
        if (/iphone|ipad|ipod/.test(ua)) {
//            go_url(url,'帖子详情');
            go_info(id, tid);
        } else {
//            topic.go_url(url,'评分列表');
            go_info(id, tid);
        }
    });
    FastClick.attach(document.body);
    mui.init();

    //    mui.previewImage();
    //懒加载参数设置
    //    $("img.lazy").lazyload({
    //        placeholder: "img/pic_article.png",
    //        threshold: 200,
    //        event: 'scroll',
    //        //failurelimit : 10 ,
    //        effect: "fadeIn"
    //    });


    var page = 1;
    mui.init({
        pullRefresh: {
            container: '#pullrefresh',
            down: {
                callback: pulldownRefresh
            },
            up: {
                contentrefresh: '正在加载...',
                contentnomore: '没有更多数据了,亲！',
                callback: pullupfresh
            }

        }
    });

    function pulldownRefresh() {
        setTimeout(function () {
            window.location.reload();
            mui('#pullrefresh').pullRefresh().endPulldownToRefresh(); //refresh completed
        }, 1500);
        //mui('#pullrefresh').pullRefresh().setStopped(true);
    }

    function pullupfresh() {
        page++;
        console.log('刷新');
        console.log(page);
        var that = this;
        //业务逻辑代码，比如通过ajax从服务器获取新数据；
        // ......
        //注意：
        //1、加载完新数据后，必须执行如下代码，true表示没有更多数据了：
        //2、若为ajax请求，则需将如下代码放置在处理完ajax响应数据之后;
        mui.ajax({
            type: "get",
            url: "/index.php/api/user_message/topic_message?page=" + page + '&user_id=3717435&accessToken=335a25d7083691f0c5c0d52fc32c2&accessSecret=77dc053dd95eb6f24cb82637cb695',
            dataType: 'json',
            success: function (e) {
                if (e.code == 200) {
                    that.endPullupToRefresh(false);
                    var html = '';
                    $.each(e.data, function (a, b) {
                        html += '<div class="send_detail comm_item">';
                        html += '<div class="head-img">';
                        html += '<img src="' + b['author_avatar'] + '">';
                        html += '<div class="head-info">';
                        html += '<p>' + b['author'] + '</p>';
                        html += '<p>';
                        html += '<span>' + b['dateline'] + '</span>';
                        html += '</p>';
                        html += '</div>';
                        html += '</div>';

                        html += '<div class="send_box">';
                        html += '<div class="news_zixun">';
                        html += '<p class="news_zixun_title">' + b['note'] + '</p>';
                        html += '</div>';

                        html += '</div>';
                        html += '<div class="replay">';
                        html += '<p class="replay_cont">' + b['message'] + '</p>';
                        html += '</div>';
                        html += '<div class="check">';
                        html += '<p class="check_msg" data-id="' + b['tid'] + '" data-tid="' + b['fid'] + '" data-href="http://app.hcbbs.com/index.php/topic/topic_post/postinfo/user_id//id/' + b['tid'] + '/accessSecret/77dc053dd95eb6f24cb82637cb695/accessToken/335a25d7083691f0c5c0d52fc32c2/display/1?floor=' + b['floor'] + '">';
                        html += '<img src="/public/static/api/images/check.png"><span>查看帖子</span></p>';
                        html += '<p data-id="' + b['pid'] + '" data-tid="' + b['tid'] + '" data-pid="' + b['pid'] + '" data-fid="' + b['fid'] + '" class="add_comment"><img src="/public/static/api/images/replay.png"><span>回复</span></p>';
                        html += '</div>';
                        html += '</div>';
                    });
                    $('.mui-content').append(html);
                } else {
                    if (e.data.length == 0) {
                        status = true;
                        that.endPullupToRefresh(true);
                        return false;
                    }
                }
            }
        });
    }
</script>
</body>

</html>